package com.sia.springcloud.service;

import com.sia.springcloud.model.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: Sirius
 * @Date: 2022/3/7 12:07
 * @Description: 用户信息接口
 **/
public interface UserInfoService extends IService<UserInfo> {

    String login(String username, String password);

    String queryUserInfo(String username);

    String logout(String username);

    String cancelAccount(String username);

    String insertUser(UserInfo userInfo);

    String queryUser(String start, String limit);

    String deleteById(String[] userIds);

    String updateUser(UserInfo userInfo);
}
